package tom.client.account;

import java.util.List;

import tom.shared.Bank;
import tom.shared.Account;
import tom.shared.TaxCalc;
import tom.shared.Voucher;

import com.google.gwt.user.client.rpc.RemoteService;

public interface Service extends RemoteService {
	public List<Bank> selectBank();

	public Bank selectBank(String id);

	public boolean deleteBank(String id);

	public boolean insertBank(Bank record);

	public boolean updateBank(Bank record);

	public Account selectAccount(String id);

	public boolean deleteAccount(String id);

	public boolean insertAccount(Account record);

	public boolean updateAccount(Account record);
	
	public boolean insertVoucher(Voucher record);
	
	public Voucher selectVoucher(Integer voucherNo);
	
	public boolean insertPayment(Voucher voucher);
	
	public List<TaxCalc> selectTaxCalc();

}
